package com.java2207.group1.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 15319 2022/7/25 17:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Discharge {
    private Integer id;
    //性别
    private String name;
    //年龄
    private String age;
    //性别
    private String sex;
    //监护人
    private String guardian;
    //出院时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date dischargeDate;



}
